package com.zx.bean;


//岗位
public class Post {
    private Integer id;
    private String post_name;//岗位名称
    private Integer code;//岗位编码
    private String type;//岗位类型
    private String other;//备注

    public Post() {
    }

    public Post(Integer id, String post_name, Integer code, String type, String other) {
        this.id = id;
        this.post_name = post_name;
        this.code = code;
        this.type = type;
        this.other = other;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPost_name() {
        return post_name;
    }

    public void setPost_name(String post_name) {
        this.post_name = post_name;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getOther() {
        return other;
    }

    public void setOther(String other) {
        this.other = other;
    }

    @Override
    public String toString() {
        return "Post{" +
                "id=" + id +
                ", post_name='" + post_name + '\'' +
                ", code=" + code +
                ", type='" + type + '\'' +
                ", other='" + other + '\'' +
                '}';
    }
}
